Exemple #1
0
        public bool NextEntry()
        {
            bool next = CPP.ReturnBool("$q->goToNextFile()");

            if (next)
            {
                CPP.Add("filename = new Qt::Core::String($q->getCurrentFileName());");
            }
            else
            {
                filename = null;
            }
            return(next);
        }
Exemple #2
0
        public bool FirstEntry()
        {
            bool first = CPP.ReturnBool("$q->goToFirstFile()");

            if (first)
            {
                CPP.Add("filename = new Qt::Core::String($q->getCurrentFileName());");
            }
            else
            {
                filename = null;
            }
            return(first);
        }
Exemple #3
0
        /**
         * Try to lock this ThreadLock returning immediately.
         */
        public bool TryLock()
        {
            if (OwnsLock())
            {
                count++;
                return(true);
            }
            bool ret = CPP.ReturnBool("$q->try_lock()");

            if (ret)
            {
                count++;
            }
            return(ret);
        }
Exemple #4
0
 public bool Rename(String newName)
 {
     return(CPP.ReturnBool("$q->rename(AbsolutePath()->qstring(), $check(newName)->qstring())"));
 }
Exemple #5
0
 public bool CreateAll()
 {
     return(CPP.ReturnBool("$q->mkpath(AbsolutePath()->qstring())"));
 }
Exemple #6
0
 /** Starts listening on port. */
 public bool Listen(string name)
 {
     return(CPP.ReturnBool("$q->listen($check(name)->qstring())"));
 }
Exemple #7
0
 public bool WaitForFinished(int timeoutms = 30000)
 {
     return(CPP.ReturnBool("$d()->waitForFinished(timeoutms)"));
 }
Exemple #8
0
 public bool IsSelected()
 {
     return(CPP.ReturnBool("$q->isChecked()"));
 }
Exemple #9
0
 public bool AddShaderFromSourceCode(int type, string src)
 {
     CPP.Add("bool ret = $q->addShaderFromSourceCode((QOpenGLShader::ShaderType)type, $check(src)->qstring());");
     return(CPP.ReturnBool("ret"));
 }
Exemple #10
0
 public bool IsReadOnly()
 {
     return(CPP.ReturnBool("$q->isReadOnly()"));
 }
Exemple #11
0
 public bool Contains(K k)
 {
     return(CPP.ReturnBool("$q->contains(k)"));
 }
Exemple #12
0
 public bool IsRunning()
 {
     return(CPP.ReturnBool("$q->isRunning()"));
 }
Exemple #13
0
 public bool Load()
 {
     return(CPP.ReturnBool("$q->load()"));
 }
Exemple #14
0
 public bool IsModal()
 {
     return(CPP.ReturnBool("$q->isModal()"));
 }
Exemple #15
0
 public bool Bind()
 {
     return(CPP.ReturnBool("$q->bind()"));
 }
Exemple #16
0
 public bool Link()
 {
     return(CPP.ReturnBool("$q->link()"));
 }
Exemple #17
0
 public bool IsHeaderHidden()
 {
     return(CPP.ReturnBool("$q->isHeaderHidden()"));
 }
Exemple #18
0
 public bool IsPasswordMode()
 {
     return(CPP.ReturnBool("($q->echoMode() == QLineEdit::Password)"));
 }
Exemple #19
0
 public bool Contains(T t)
 {
     return(CPP.ReturnBool("$q->contains(t)"));
 }
Exemple #20
0
 public bool WaitForDisconnected(int msec = 30000) {return CPP.ReturnBool("$d()->waitForDisconnected(msec)");}
Exemple #21
0
 public bool Contains(T t)
 {
     return(CPP.ReturnBool("$q->indexOf(t) != -1"));
 }
Exemple #22
0
 public bool IsTriState()
 {
     return(CPP.ReturnBool("$q->isTristate()"));
 }
Exemple #23
0
 public bool IsEnabled()
 {
     return(CPP.ReturnBool("$q->isEnabled();"));
 }
Exemple #24
0
 public bool IsSingleShot()
 {
     return(CPP.ReturnBool("$q->isSingleShot()"));
 }
Exemple #25
0
 public bool Open(ZipMode mode)
 {
     return(CPP.ReturnBool("$q->open((QuaZip::Mode)mode)"));
 }
Exemple #26
0
 /**
  * Checks if current thread owns the lock.
  */
 public bool OwnsLock()
 {
     return(CPP.ReturnBool("$q->owns_lock()"));
 }
Exemple #27
0
 public bool Exists()
 {
     return(CPP.ReturnBool("$q->exists()"));
 }
Exemple #28
0
 public bool Remove()
 {
     return(CPP.ReturnBool("$q->rmdir(AbsolutePath()->qstring())"));
 }
Exemple #29
0
 /** Returns status of pending connection. */
 public bool IsPending()
 {
     return(CPP.ReturnBool("$q->hasPendingConnections()"));
 }
Exemple #30
0
 public bool Load(String input)
 {
     return(CPP.ReturnBool("$q->setContent($check(input)->qstring())"));
 }